<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="ctxStatic" value="${pageContext.request.contextPath}/static"/>

<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="${ctxStatic}/other/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
 <form action="${ctx}/user/add" method="post">
     <table>
         <tr><td>id:</td><td><input type="text" name="id" placeholder="请输入id" required/> </td></tr>
         <tr><td>用户名:</td><td><input type="text" name="name" placeholder="请输入用户名" required/> </td></tr>
         <tr><td>密码:</td><td><input type="text" name="password"
         placeholder="请输入密码" required/></td></tr>
         <tr><td>性别:</td><td><input type="text" name="sex" placeholder="请输入性别"  required/></td></tr>
         <tr><td>出生日期:</td><td><input type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="birthday" placeholder="请输入性别"  required/></td></tr>
         <tr><td><input type="submit" value="增加"/></td><td><input type="reset" value="重置"/> </td></tr>
     </table>
 </form>
</body>
</html>
